@extends('layouts.console_header')

@section('title', '审核不通过列表')

@section('resources')
    @parent

@endsection

@section('content')
<section class="user_list">
    <p class="fz_14 account_title">
        <span style="color: #7f7f7f;"><a href="/console/index">首页</a>>商家版运营></span>
        <span class="co_violet">审核不通过列表</span>
    </p>
    <table id="example" class="display" cellspacing="0" width="100%">
        <thead>
            <tr>
                <th>序号</th>
                <th>商家代码</th>
                <th>商家名称</th>
                <th>商家帐号</th>
                <th>商务姓名</th>
                <th>审核类型</th>
                <th>提交内容</th>
                <th>提交时间</th>
                <th>操作</th>
            </tr>
        </thead>
        <tfoot>
            <tr>
                <th>序号</th>
                <th>商家代码</th>
                <th>商家名称</th>
                <th>商家帐号</th>
                <th>商务姓名</th>
                <th>审核类型</th>
                <th>提交内容</th>
                <th>提交时间</th>
                <th>操作</th>
            </tr>
        </tfoot>
        <tbody>
            @foreach($lists as $list)
                <tr>
                @if(!isset($i))
                    <td>{{$i=1}}</td>
                @else
                    <td>{{++$i}}</td>
                @endif
                    {{--<td>{{$list['shopreviewid']}}</td>--}}
                    <td>{{$list['shopcode']}}</td>
                    <td>{{$list['shopname']}}</td>
                    <td>{{$list['parentmobile']}}</td>
                    <td>{{$list['managername']}}</td>
                @if(empty($list['updatecontent']))
                    <td>新店入驻</td>
                    <td>全部</td>
                @else
                    <td>资料修改</td>
                    <td></td>
                @endif
                    <td>{{date('Y-m-d H:i', strtotime($list['created_at']))}}</td>
                    <td>
                        <a style="margin-right: 10px;" class="co_violet" href="/console/shop/review/get?shopreviewid={{$list['shopreviewid']}}&adminrole=businesspeople&cityid={{$cityid}}">编辑</a>
                        <a class="co_red" href="/console/shop/review/delete?shopreviewid={{$list['shopreviewid']}}">删除</a>
                    </td>
                </tr>
            @endforeach
        </tbody>
    </table>
</section>
@endsection

@section('scriptResources')
    @parent
   
@endsection